<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>


        <a href="indexB.html">访问indexB.html页面</a>

        <br/>
        <br/>

        <button onclick="func1()">访问下一个页面</button>


        <script type="text/javascript">
            function func1() {
                //跳转到历史记录中的下一个页面
                window.history.forward();
            }
        </script>

    </body>
</html>